var $global_isMobile,$global_isIPad,$global_isIPhone,$global_isIPod,$global_isAndroid;
$(function(){
	//获取手机类型
	$global_isMobile = navigator.userAgent.match( /(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i );
	$global_isIPad = navigator.userAgent.match( /(iPad)/i );
	$global_isIPhone = navigator.userAgent.match( /(iPhone)/i );
	$global_isIPod = navigator.userAgent.match( /(iPod)/i );
	$global_isAndroid = navigator.userAgent.match( /(Android)/i );
});